<?php 
// +----------------------------------------------------------------------
// | RXThinkCMF框架 [ RXThinkCMF ]
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 南京RXThinkCMF研发中心
// +----------------------------------------------------------------------
// | 官方网站: http://www.rxthink.cn
// +----------------------------------------------------------------------
// | Author: 牧羊人 <1175401194@qq.com>
// +----------------------------------------------------------------------

namespace app\admin\controller;


use app\admin\service\OfDemoService;
use app\common\controller\Backend;
use think\facade\View;

/**
 * 模板管理-控制器
 * @author 牧羊人
 * @since: 2022/01/13
 * Class Ofdemo
 * @package app\admin\controller
 */
class Ofdemo extends Backend
{
    /**
     * 初始化方法
     * @author 牧羊人
     * @since: 2022/01/13
     */
    public function initialize()
    {
        parent::initialize(); // TODO: Change the autogenerated stub
        $this->model = new \app\admin\model\OfDemo();
        $this->service = new OfdemoService();
    }
	
    public function download(){
        $list = [
            ["name"=>"公司缴纳-办登转达函","url"=>"../uploads\demo\公司缴纳-办登转达函.docx"],
            ["name"=>"客户自缴-办登转达函","url"=>"../uploads\demo\客户自缴-办登转达函.docx"],
            ["name"=>"年费转达函","url"=>"../uploads\demo\年费转达函.docx"],
        ];
        View::assign("list", $list);
        return $this->render();
    }
}